通过授权协议号查询与用户授权记录
通过authorization_code,商户查询与用户授权关系 官方文档 官方文档
js
wxpay.v3.payscore.permissions.authorizationCode._authorization_code_.get({
authorization_code,
params,
})
.then(
({
data: {
service_id,
appid,
mchid,
openid,
authorization_code,
notify_url,
cancel_authorization_time,
authorization_success_time,
user_risk_level,
risk_level_version,
},
}) => ({
service_id,
appid,
mchid,
openid,
authorization_code,
notify_url,
cancel_authorization_time,
authorization_success_time,
user_risk_level,
risk_level_version,
})
)